using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System; // 需要引入 System 命名空间以使用 Guid

public class Card
{
    public Guid ID { get; } = Guid.NewGuid();
    private CardData data;
    public string Title=> data.name;
    public string Description=> data.Description;
    public Sprite Image=> data.Image;
    public int Mana=> data.Mana;
    public Effect ManualTargetEffect => data.ManualTargetEffect;
    public List<AutoTargetEffect> OhterEffect => data.OtherTargetEffect;

    public Card(CardData cardData)
    {
        data = cardData;
    }

}
